import request from './request'

export function getLogs(data) {
  return request({
    url: '/logs/page',
    method: 'post',
    data
  })
}
export function deleteBatchLogs(ids) {
    return request({
        url: '/logs/delete/batch',
        method: 'delete',
        params: {
            ids:ids
          }
    })
}
export function deleteLogsData(id) {
    return request({
        url: '/logs/delete/'+id,
        method: 'delete',
    })
}